package com.zbhk.qc.entity;
// Generated 2019-5-23 17:12:42 by Hibernate Tools 5.3.0.Beta2

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 下线用户组成表
 */
@Data
@Entity
@Table(name = "vd_user_offline")
public class VdUserOffline {

	@Id
	@TableId(value = "id",type = IdType.AUTO)
	private Long id;

	//用户
	@Column(name = "user_id")
	private Long userId;

	//下线用户id
	@Column(name = "s_user_id")
	private Long sUserId;

	//截止上月该下线用户总收益
	@Column(name = "s_all_income")
	private Double sAllIncome;

	//截止上月该下线用户所分成收益
	@Column(name = "s_divide_income")
	private Double sDivideIncome;

	//状态
	@Column(name = "status")
	private Integer status;

	//创建时间
	@Column(name = "create_time")
	private String createTime;




}
